#!/bin/bash

echo "=========================================="
echo "AIMS Project Build Script"
echo "=========================================="
echo ""

echo "[1/3] Cleaning project..."
mvn clean

echo ""
echo "[2/3] Installing all modules..."
mvn install

echo ""
echo "[3/3] Build completed!"
echo ""
echo "You can now run the application with:"
echo "  cd aims-server"
echo "  mvn spring-boot:run"
echo ""
echo "Or run the packaged JAR:"
echo "  java -jar aims-server/target/aims-server-1.0.0-SNAPSHOT.jar"
echo ""